﻿using YNTK.Dependency;

namespace YNTK.SimpleWorkflow.Entitys
{
    /// <summary>
    /// 通用简易工作流配置数据传输模型
    /// </summary>
    [SuppressSniffer]
    public class SimpleWorkflowConfigurationListDto
    {
        /// <summary>
        /// 流程节点id
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 所属组织id
        /// </summary>
        public string organizeId { get; set; }

        /// <summary>
        /// 所属组织名称
        /// </summary>
        public string organizeName { get; set; }

        /// <summary>
        /// 工作流分类id
        /// </summary>
        public string classifyId { get; set; }

        /// <summary>
        /// 工作流分类名称
        /// </summary>
        public string classifyName { get; set; }

        /// <summary>
        /// 流程节点名称
        /// </summary>
        public string nodeName { get; set; }

        /// <summary>
        /// 是否允许驳回
        /// </summary>
        public bool rejected { get; set; }

        /// <summary>
        /// 是否为发起人确认
        /// </summary>
        public bool confirm { get; set; }

        /// <summary>
        /// 是否需要签字
        /// </summary>
        public bool signature { get; set; }

        /// <summary>
        /// 审核机构id
        /// </summary>
        public string mechanismId { get; set; }

        /// <summary>
        /// 审核机构名称
        /// </summary>
        public string mechanismName { get; set; }

        /// <summary>
        /// 审核角色id
        /// </summary>
        public string roleId { get; set; }

        /// <summary>
        /// 审核角色名称
        /// </summary>
        public string roleName { get; set; }

        /// <summary>
        /// 审核用户id,多个用户按逗号分割
        /// </summary>
        public string userIds { get; set; }

        /// <summary>
        /// 审核用户姓名,多个用户按逗号分割
        /// </summary>
        public string userNames { get; set; }

        /// <summary>
        /// 节点顺序
        /// </summary>
        public long? sortCode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string description { get; set; }

        /// <summary>
        /// 启用/禁用,1.启用
        /// </summary>
        public int? enabledMark { get; set; }
    }
}
